<?php

class FollowerAccessTable extends Doctrine_Table
{
  const FREE = 1;
  const NOT_FREE = 2;
  const PROMOTIONAL = 3;

  public static function getInstance()
  {
    return Doctrine_Core::getTable('FollowerAccess');
  }

  public function selectAccess()
  {
    $q = $this->createQuery('a')
            ->whereIn('a.id', array(self::FREE, self::NOT_FREE));
    return $q->execute();
  }

}